package cn.ranko.shiro.mapper;

import cn.ranko.shiro.model.SysRole;
import cn.ranko.shiro.model.SysUserRole;

import java.util.List;

public interface SysUserRoleMapper {
    int deleteByPrimaryKey(Integer userRoleId);

    int insert(SysUserRole record);

    int insertSelective(SysUserRole record);

    SysUserRole selectByPrimaryKey(Integer userRoleId);

    int updateByPrimaryKeySelective(SysUserRole record);

    int updateByPrimaryKey(SysUserRole record);

    List<SysUserRole> getSysUserRoleByUserId(Integer user_id);

    Integer deleteByUserId(Integer userId);
}